From: Jonas Dreßler Date: Thu, 2 May 2019 15:49:21 +0000 (+0200) Subject: workspace: Return results of forwarded acceptDrop X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~811^2^2~45 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=259874d731a5a051027efa79d1acdf5df4893063;p=gnome-shell.git workspace: Return results of forwarded acceptDrop Return the results of calls to acceptDrop that we forwarded to the Workspace object. This fixes a bug where app icons that were dragged and released above a window clone would get animated back to their original position (indicating that nothing happened) even though they opened correctly. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/121 --- diff --git a/js/ui/workspace.js b/js/ui/workspace.js index 7ffec352b..92f9622f2 100644 --- a/js/ui/workspace.js +++ b/js/ui/workspace.js @@ -421,7 +421,7 @@ var WindowClone = GObject.registerClass({ } acceptDrop(source, actor, x, y, time) { - this._workspace.acceptDrop(source, actor, x, y, time); + return this._workspace.acceptDrop(source, actor, x, y, time); } _onDragCancelled(_draggable, _time) {